<template>
    <div class="header">
        <router-link to="/">
            <div class="header-left">
                <span class="iconfont back">&#xe600;</span>
            </div>
        </router-link>
        <p class="title">城市选择</p>
    </div>
</template>

<script>
export default {
  name: 'CityHeader'
}
</script>

<style scoped>
.header{
    display:flex;
    height: 2.4rem;
    line-height:2.4rem;
    background-color: #00bcd4;
    color:#fff;
}
 .header-left{
    width: 3rem;
    float: left;
    color:#fff;
}
.back{
    font-size: 20px!important;
    font-weight: bolder;
}
.title{
    width: 100px;
    position: absolute;
    top: 0px;
    left: 50%;
    padding: 0;
    margin: 0;
    margin-left: -50px;
    font-size: 1.1rem;
    font-weight: 600;
}
</style>
